package com.ruicar.afs.cloud.channel.channelworkflow.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruicar.afs.cloud.common.core.entity.BaseEntity;
import lombok.Data;

/**
 * @Description 工作流任务详细信息表
 * @Author mingzhi.li
 * @Date 2020/07/20 10:18
 */
@Data
@TableName("work_task_detail")
public class WorkTaskDetail extends BaseEntity<WorkTaskDetail> {
    /**
     * 业务id
     */
    private String bizDataId;
    /**
     * 流程名称
     */
    private String flowName;
    /**
     * 名称
     */
    private String name;
    /**
     * 业务关键字
     */
    @JsonSerialize(using= ToStringSerializer.class)
    @JSONField(serializeUsing = com.alibaba.fastjson.serializer.ToStringSerializer.class)
    private Long businessKey;
    /**
     * 业务类型
     */
    private String businessType;
    /**
     * 关联的渠道id
     */
    @JsonSerialize(using= ToStringSerializer.class)
    @JSONField(serializeUsing = com.alibaba.fastjson.serializer.ToStringSerializer.class)
    private Long channelId;
}
